﻿using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace Syx.Webapi.AppCode.Entities {

	[JsonObject(MemberSerialization.OptIn), Table(Name = "TEST_MZ_BCJR", DisableSyncStructure = true)]
	public partial class TESTMZBCJR {

		[JsonProperty, Column(Name = "TAB_ID", IsPrimary = true)]
		public int TABID { get; set; }

		[JsonProperty, Column(Name = "BC_CLASS", DbType = "VARCHAR2(50 BYTE)")]
		public string BCCLASS { get; set; }

		[JsonProperty, Column(Name = "BC_CODE", DbType = "VARCHAR2(50 BYTE)")]
		public string BCCODE { get; set; }

		[JsonProperty, Column(Name = "BC_DOCTOR", DbType = "VARCHAR2(50 BYTE)")]
		public string BCDOCTOR { get; set; }

		[JsonProperty, Column(Name = "BC_GJZ", DbType = "VARCHAR2(500 BYTE)")]
		public string BCGJZ { get; set; }

		[JsonProperty, Column(Name = "BC_NAME", DbType = "VARCHAR2(100 BYTE)")]
		public string BCNAME { get; set; }

		[JsonProperty, Column(Name = "BC_ORDERLINE", DbType = "VARCHAR2(10 BYTE)")]
		public string BCORDERLINE { get; set; }

		[JsonProperty, Column(Name = "BC_REMARK", DbType = "VARCHAR2(500 BYTE)")]
		public string BCREMARK { get; set; }

		[JsonProperty, Column(Name = "BC_SHOW_STR", DbType = "VARCHAR2(200 BYTE)")]
		public string BCSHOWSTR { get; set; }

		[JsonProperty, Column(Name = "BC_TEXT", DbType = "CLOB")]
		public string BCTEXT { get; set; }

		[JsonProperty, Column(Name = "BC_XML", DbType = "CLOB")]
		public string BCXML { get; set; }

		[JsonProperty, Column(Name = "BC_YJ_STR", DbType = "VARCHAR2(200 BYTE)")]
		public string BCYJSTR { get; set; }

		[JsonProperty, Column(Name = "CRB_FLAG")]
		public sbyte? CRBFLAG { get; set; }

		[JsonProperty, Column(Name = "CRB_STR", DbType = "VARCHAR2(50 BYTE)")]
		public string CRBSTR { get; set; }

		[JsonProperty, Column(Name = "FLAG_YJ")]
		public sbyte? FLAGYJ { get; set; }

		[JsonProperty, Column(Name = "NOT_FLAG")]
		public sbyte? NOTFLAG { get; set; }

		[JsonProperty, Column(Name = "PATIENT_ID", DbType = "VARCHAR2(50 BYTE)")]
		public string PATIENTID { get; set; }

		[JsonProperty, Column(Name = "RECORDING_DATE", DbType = "DATE(7)")]
		public DateTime? RECORDINGDATE { get; set; }

		[JsonProperty, Column(Name = "VISIT_ID", DbType = "VARCHAR2(10 BYTE)")]
		public string VISITID { get; set; }

		[JsonProperty]
		public int XH { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(50 BYTE)")]
		public string ZYID { get; set; }

	}

}
